﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Wix.Aura.Common;
using Wix.Aura.UnitTests.Tools;

namespace Wix.Aura.UnitTests.Common {
	[TestFixture]
	public class ClassSerialization {
		[Test]
		public void ProgId() {
			Class cl = new Class(Guid.Empty);
			cl.ProgId.Add(new ProgId("id", new List<ProgId>()));
			XmlAssert.AreEqual(@"<Class Id=""00000000-0000-0000-0000-000000000000""><ProgId Id=""id"" /></Class>", cl);
		}
	}
}
